//两个数的排序
#include<stdio.h>

int main(void) {
    int a, b, temp;
    printf("请输入两个整数：");
    scanf("%d%d", &a, &b);
    if (a > b) {
        temp = a; //把a暂存入temp;
        a = b; //把b存入a;
        b = temp; //把temp存入b;
    }
    printf("%d %d", a, b);
    return 0;
}
